package com.baizhi.controller;

import com.baizhi.service.LogService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.HashMap;

@RestController
@RequestMapping("Log")
public class LogController {
    @Resource
    LogService logService;

    @RequestMapping("queryAllPage")
    public HashMap<String, Object> queryAllPage(Integer page, Integer rows) {
        return logService.queryAllPage(page,rows);
    }
}
